<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2">
<meta name="theme-color" content="#222">
<meta name="generator" content="Hexo 4.2.0">
  <link rel="apple-touch-icon" sizes="180x180" href="/xizhongren8980/images/apple-touch-icon-next.png">
  <link rel="icon" type="image/png" sizes="32x32" href="/xizhongren8980/images/favicon-32x32-next.png">
  <link rel="icon" type="image/png" sizes="16x16" href="/xizhongren8980/images/favicon-16x16-next.png">
  <link rel="mask-icon" href="/xizhongren8980/images/logo.svg" color="#222">

<link rel="stylesheet" href="/xizhongren8980/css/main.css">


<link rel="stylesheet" href="/xizhongren8980/lib/font-awesome/css/all.min.css">

<script id="hexo-configurations">
    var NexT = window.NexT || {};
    var CONFIG = {"hostname":"gitee.com","root":"/xizhongren8980/","scheme":"Gemini","version":"7.8.0","exturl":false,"sidebar":{"position":"left","display":"post","padding":18,"offset":12,"onmobile":false},"copycode":{"enable":false,"show_result":false,"style":null},"back2top":{"enable":true,"sidebar":false,"scrollpercent":false},"bookmark":{"enable":false,"color":"#222","save":"auto"},"fancybox":false,"mediumzoom":false,"lazyload":false,"pangu":false,"comments":{"style":"tabs","active":null,"storage":true,"lazyload":false,"nav":null},"algolia":{"hits":{"per_page":10},"labels":{"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}},"localsearch":{"enable":true,"trigger":"auto","top_n_per_article":1,"unescape":false,"preload":false},"motion":{"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}},"path":"search.xml"};
  </script>

  <meta name="description" content="对于学计算机方面的来说，拥有一个属于自己的博客确实有必要，我也是在最近看了一些教学视频然后自己进行搭建，虽然视频中看起来搭建挺简单，但是真正到自己做的时候总是会遇到一些问题。以后就在这个地方简单记录一下自己学习过程，希望能有不错的收获。">
<meta property="og:type" content="article">
<meta property="og:title" content="Hexo博客零基础搭建教程">
<meta property="og:url" content="https://gitee.com/xizhongren8980/xizhongren8980.git/2020/03/06/Hexo%E5%8D%9A%E5%AE%A2%E6%90%AD%E5%BB%BA&&%E9%81%BF%E5%9D%91/index.html">
<meta property="og:site_name" content="一杯茶一包烟，一个BUG改一天">
<meta property="og:description" content="对于学计算机方面的来说，拥有一个属于自己的博客确实有必要，我也是在最近看了一些教学视频然后自己进行搭建，虽然视频中看起来搭建挺简单，但是真正到自己做的时候总是会遇到一些问题。以后就在这个地方简单记录一下自己学习过程，希望能有不错的收获。">
<meta property="og:locale" content="zh_CN">
<meta property="og:image" content="https://github.com/MisterTian8980/PictureOfMyHexoBlog/raw/master/images/Hexo%E5%8D%9A%E5%AE%A2%E6%90%AD%E5%BB%BA/image001.png">
<meta property="og:image" content="https://github.com/MisterTian8980/PictureOfMyHexoBlog/raw/master/images/Hexo%E5%8D%9A%E5%AE%A2%E6%90%AD%E5%BB%BA/image002.png">
<meta property="og:image" content="https://github.com/MisterTian8980/PictureOfMyHexoBlog/raw/master/images/Hexo%E5%8D%9A%E5%AE%A2%E6%90%AD%E5%BB%BA/image003.png">
<meta property="og:image" content="https://github.com/MisterTian8980/PictureOfMyHexoBlog/raw/master/images/Hexo%E5%8D%9A%E5%AE%A2%E6%90%AD%E5%BB%BA/image004.png">
<meta property="og:image" content="https://github.com/MisterTian8980/PictureOfMyHexoBlog/raw/master/images/Hexo%E5%8D%9A%E5%AE%A2%E6%90%AD%E5%BB%BA/image005.png">
<meta property="og:image" content="https://github.com/MisterTian8980/PictureOfMyHexoBlog/raw/master/images/Hexo%E5%8D%9A%E5%AE%A2%E6%90%AD%E5%BB%BA/image006.png">
<meta property="og:image" content="https://github.com/MisterTian8980/PictureOfMyHexoBlog/raw/master/images/Hexo%E5%8D%9A%E5%AE%A2%E6%90%AD%E5%BB%BA/image007.png">
<meta property="og:image" content="https://github.com/MisterTian8980/PictureOfMyHexoBlog/raw/master/images/Hexo%E5%8D%9A%E5%AE%A2%E6%90%AD%E5%BB%BA/image008.png">
<meta property="og:image" content="https://github.com/MisterTian8980/PictureOfMyHexoBlog/raw/master/images/Hexo%E5%8D%9A%E5%AE%A2%E6%90%AD%E5%BB%BA/image009.png">
<meta property="og:image" content="https://github.com/MisterTian8980/PictureOfMyHexoBlog/raw/master/images/Hexo%E5%8D%9A%E5%AE%A2%E6%90%AD%E5%BB%BA/image010.png">
<meta property="og:image" content="https://github.com/MisterTian8980/PictureOfMyHexoBlog/raw/master/images/Hexo%E5%8D%9A%E5%AE%A2%E6%90%AD%E5%BB%BA/image011.png">
<meta property="og:image" content="https://github.com/MisterTian8980/PictureOfMyHexoBlog/raw/master/images/Hexo%E5%8D%9A%E5%AE%A2%E6%90%AD%E5%BB%BA/image012.png">
<meta property="og:image" content="https://github.com/MisterTian8980/PictureOfMyHexoBlog/raw/master/images/Hexo%E5%8D%9A%E5%AE%A2%E6%90%AD%E5%BB%BA/image013.png">
<meta property="og:image" content="https://github.com/MisterTian8980/PictureOfMyHexoBlog/raw/master/images/Hexo%E5%8D%9A%E5%AE%A2%E6%90%AD%E5%BB%BA/image014.png">
<meta property="og:image" content="https://github.com/MisterTian8980/PictureOfMyHexoBlog/raw/master/images/Hexo%E5%8D%9A%E5%AE%A2%E6%90%AD%E5%BB%BA/image015.png">
<meta property="og:image" content="https://github.com/MisterTian8980/PictureOfMyHexoBlog/raw/master/images/Hexo%E5%8D%9A%E5%AE%A2%E6%90%AD%E5%BB%BA/image016.png">
<meta property="og:image" content="https://github.com/MisterTian8980/PictureOfMyHexoBlog/raw/master/images/Hexo%E5%8D%9A%E5%AE%A2%E6%90%AD%E5%BB%BA/image017.png">
<meta property="og:image" content="https://github.com/MisterTian8980/PictureOfMyHexoBlog/raw/master/images/Hexo%E5%8D%9A%E5%AE%A2%E6%90%AD%E5%BB%BA/image018.png">
<meta property="og:image" content="https://github.com/MisterTian8980/PictureOfMyHexoBlog/raw/master/images/Hexo%E5%8D%9A%E5%AE%A2%E6%90%AD%E5%BB%BA/image019.png">
<meta property="article:published_time" content="2020-03-06T11:51:33.964Z">
<meta property="article:modified_time" content="2020-01-15T14:23:40.287Z">
<meta property="article:author" content="MisterTian">
<meta property="article:tag" content="Hexo 博客">
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="https://github.com/MisterTian8980/PictureOfMyHexoBlog/raw/master/images/Hexo%E5%8D%9A%E5%AE%A2%E6%90%AD%E5%BB%BA/image001.png">

<link rel="canonical" href="https://gitee.com/xizhongren8980/xizhongren8980.git/2020/03/06/Hexo%E5%8D%9A%E5%AE%A2%E6%90%AD%E5%BB%BA&&%E9%81%BF%E5%9D%91/">


<script id="page-configurations">
  // https://hexo.io/docs/variables.html
  CONFIG.page = {
    sidebar: "",
    isHome : false,
    isPost : true,
    lang   : 'zh-CN'
  };
</script>

  <title>Hexo博客零基础搭建教程 | 一杯茶一包烟，一个BUG改一天</title>
  






  <noscript>
  <style>
  .use-motion .brand,
  .use-motion .menu-item,
  .sidebar-inner,
  .use-motion .post-block,
  .use-motion .pagination,
  .use-motion .comments,
  .use-motion .post-header,
  .use-motion .post-body,
  .use-motion .collection-header { opacity: initial; }

  .use-motion .site-title,
  .use-motion .site-subtitle {
    opacity: initial;
    top: initial;
  }

  .use-motion .logo-line-before i { left: initial; }
  .use-motion .logo-line-after i { right: initial; }
  </style>
</noscript>

</head>

<body itemscope itemtype="http://schema.org/WebPage">
  <div class="container use-motion">
    <div class="headband"></div>

    <header class="header" itemscope itemtype="http://schema.org/WPHeader">
      <div class="header-inner"><div class="site-brand-container">
  <div class="site-nav-toggle">
    <div class="toggle" aria-label="切换导航栏">
      <span class="toggle-line toggle-line-first"></span>
      <span class="toggle-line toggle-line-middle"></span>
      <span class="toggle-line toggle-line-last"></span>
    </div>
  </div>

  <div class="site-meta">

    <a href="/xizhongren8980/" class="brand" rel="start">
      <span class="logo-line-before"><i></i></span>
      <h1 class="site-title">一杯茶一包烟，一个BUG改一天</h1>
      <span class="logo-line-after"><i></i></span>
    </a>
      <p class="site-subtitle" itemprop="description">收藏永不停止，学习永不开始</p>
  </div>

  <div class="site-nav-right">
    <div class="toggle popup-trigger">
        <i class="fa fa-search fa-fw fa-lg"></i>
    </div>
  </div>
</div>




<nav class="site-nav">
  <ul id="menu" class="main-menu menu">
        <li class="menu-item menu-item-home">

    <a href="/xizhongren8980/" rel="section"><i class="fa fa-home fa-fw"></i>首页</a>

  </li>
        <li class="menu-item menu-item-about">

    <a href="/xizhongren8980/about/" rel="section"><i class="fa fa-user fa-fw"></i>关于</a>

  </li>
        <li class="menu-item menu-item-tags">

    <a href="/xizhongren8980/tags/" rel="section"><i class="fa fa-tags fa-fw"></i>标签</a>

  </li>
        <li class="menu-item menu-item-categories">

    <a href="/xizhongren8980/categories/" rel="section"><i class="fa fa-th fa-fw"></i>分类</a>

  </li>
        <li class="menu-item menu-item-archives">

    <a href="/xizhongren8980/archives/" rel="section"><i class="fa fa-archive fa-fw"></i>归档</a>

  </li>
      <li class="menu-item menu-item-search">
        <a role="button" class="popup-trigger"><i class="fa fa-search fa-fw"></i>搜索
        </a>
      </li>
  </ul>
</nav>



  <div class="search-pop-overlay">
    <div class="popup search-popup">
        <div class="search-header">
  <span class="search-icon">
    <i class="fa fa-search"></i>
  </span>
  <div class="search-input-container">
    <input autocomplete="off" autocapitalize="off"
           placeholder="搜索..." spellcheck="false"
           type="search" class="search-input">
  </div>
  <span class="popup-btn-close">
    <i class="fa fa-times-circle"></i>
  </span>
</div>
<div id="search-result">
  <div id="no-result">
    <i class="fa fa-spinner fa-pulse fa-5x fa-fw"></i>
  </div>
</div>

    </div>
  </div>

</div>
    </header>

    
  <div class="back-to-top">
    <i class="fa fa-arrow-up"></i>
    <span>0%</span>
  </div>


    <main class="main">
      <div class="main-inner">
        <div class="content-wrap">
          

          <div class="content post posts-expand">
            

    
  
  
  <article itemscope itemtype="http://schema.org/Article" class="post-block" lang="zh-CN">
    <link itemprop="mainEntityOfPage" href="https://gitee.com/xizhongren8980/xizhongren8980.git/2020/03/06/Hexo%E5%8D%9A%E5%AE%A2%E6%90%AD%E5%BB%BA&&%E9%81%BF%E5%9D%91/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="image" content="/xizhongren8980/images/head.jpg">
      <meta itemprop="name" content="MisterTian">
      <meta itemprop="description" content="一个小菜鸟">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="一杯茶一包烟，一个BUG改一天">
    </span>
      <header class="post-header">
        <h1 class="post-title" itemprop="name headline">
          Hexo博客零基础搭建教程
        </h1>

        <div class="post-meta">
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="far fa-calendar"></i>
              </span>
              <span class="post-meta-item-text">发表于</span>

              <time title="创建时间：2020-03-06 19:51:33" itemprop="dateCreated datePublished" datetime="2020-03-06T19:51:33+08:00">2020-03-06</time>
            </span>
              <span class="post-meta-item">
                <span class="post-meta-item-icon">
                  <i class="far fa-calendar-check"></i>
                </span>
                <span class="post-meta-item-text">更新于</span>
                <time title="修改时间：2020-01-15 22:23:40" itemprop="dateModified" datetime="2020-01-15T22:23:40+08:00">2020-01-15</time>
              </span>

          

        </div>
      </header>

    
    
    
    <div class="post-body" itemprop="articleBody">

      
        <p>对于学计算机方面的来说，拥有一个属于自己的博客确实有必要，我也是在最近看了一些教学视频然后自己进行搭建，虽然视频中看起来搭建挺简单，但是真正到自己做的时候总是会遇到一些问题。以后就在这个地方简单记录一下自己学习过程，希望能有不错的收获。</p>
<a id="more"></a>

<h2 id="环境准备"><a href="#环境准备" class="headerlink" title="环境准备"></a>环境准备</h2><h3 id="下载Git"><a href="#下载Git" class="headerlink" title="下载Git"></a>下载Git</h3><ul>
<li>下载地址<a href="http://git-scm.com/download" target="_blank" rel="noopener">http://git-scm.com/download</a></li>
</ul>
<p><img src="https://github.com/MisterTian8980/PictureOfMyHexoBlog/raw/master/images/Hexo%E5%8D%9A%E5%AE%A2%E6%90%AD%E5%BB%BA/image001.png" alt=""></p>
<p><img src="https://github.com/MisterTian8980/PictureOfMyHexoBlog/raw/master/images/Hexo%E5%8D%9A%E5%AE%A2%E6%90%AD%E5%BB%BA/image002.png" alt=""></p>
<p>双击开始安装，一直保持默认就好</p>
<ul>
<li>配置Git环境变量</li>
</ul>
<p>右键“我的电脑”，找到属性——高级系统设置——环境变量</p>
<p><img src="https://github.com/MisterTian8980/PictureOfMyHexoBlog/raw/master/images/Hexo%E5%8D%9A%E5%AE%A2%E6%90%AD%E5%BB%BA/image003.png" alt=""></p>
<p>找到系统变量的“Path”，选中后点击“编辑”</p>
<p><img src="https://github.com/MisterTian8980/PictureOfMyHexoBlog/raw/master/images/Hexo%E5%8D%9A%E5%AE%A2%E6%90%AD%E5%BB%BA/image004.png" alt=""></p>
<p>然后新建一个Git的cmd路径，如图所示就是我的系统默认路径</p>
<p><img src="https://github.com/MisterTian8980/PictureOfMyHexoBlog/raw/master/images/Hexo%E5%8D%9A%E5%AE%A2%E6%90%AD%E5%BB%BA/image005.png" alt=""></p>
<h3 id="下载node-js"><a href="#下载node-js" class="headerlink" title="下载node.js"></a>下载node.js</h3><ul>
<li>下载地址<a href="https://nodejs.org/en/" target="_blank" rel="noopener">https://nodejs.org/en/</a></li>
</ul>
<p><img src="https://github.com/MisterTian8980/PictureOfMyHexoBlog/raw/master/images/Hexo%E5%8D%9A%E5%AE%A2%E6%90%AD%E5%BB%BA/image006.png" alt=""></p>
<p>下载后保持默认就好<br>这个安装包安装完成后会有Node.js和npm这两个组件</p>
<ul>
<li>打开控制台（win+r输入cmd）</li>
</ul>
<p>输入node -v和npm -v 可以查看组件的版本号，如图</p>
<p><img src="https://github.com/MisterTian8980/PictureOfMyHexoBlog/raw/master/images/Hexo%E5%8D%9A%E5%AE%A2%E6%90%AD%E5%BB%BA/image007.png" alt=""></p>
<p>到这里就完成了博客搭建前的环境配置了，下面开始进行搭建博客</p>
<h2 id="搭建博客"><a href="#搭建博客" class="headerlink" title="搭建博客"></a>搭建博客</h2><ul>
<li>设置淘宝镜像</li>
</ul>
<p>目的在于加快下载速度</p>
<p>命令行输入 npm install -g cnpm –registry=<a href="https://registry.npm.taobao.org" target="_blank" rel="noopener">https://registry.npm.taobao.org</a></p>
<p>运行结果如图</p>
<p><img src="https://github.com/MisterTian8980/PictureOfMyHexoBlog/raw/master/images/Hexo%E5%8D%9A%E5%AE%A2%E6%90%AD%E5%BB%BA/image008.png" alt=""></p>
<p>输入cnpm可以查看信息，如图表示安装成功</p>
<p><img src="https://github.com/MisterTian8980/PictureOfMyHexoBlog/raw/master/images/Hexo%E5%8D%9A%E5%AE%A2%E6%90%AD%E5%BB%BA/image009.png" alt=""></p>
<ul>
<li>使用cpnm搭建Hexo博客框架</li>
</ul>
<p>命令行输入cnpm install -g hexo-cli，结果如图</p>
<p><img src="https://github.com/MisterTian8980/PictureOfMyHexoBlog/raw/master/images/Hexo%E5%8D%9A%E5%AE%A2%E6%90%AD%E5%BB%BA/image010.png" alt=""></p>
<p>输入 hexo -v 可以查看框架的版本信息</p>
<p><img src="https://github.com/MisterTian8980/PictureOfMyHexoBlog/raw/master/images/Hexo%E5%8D%9A%E5%AE%A2%E6%90%AD%E5%BB%BA/image011.png" alt=""></p>
<ul>
<li>建立新文件夹</li>
</ul>
<p>命令行输入 mkdir+文件夹名称</p>
<p>我的名称为 blog</p>
<p><img src="https://github.com/MisterTian8980/PictureOfMyHexoBlog/raw/master/images/Hexo%E5%8D%9A%E5%AE%A2%E6%90%AD%E5%BB%BA/image012.png" alt=""></p>
<ul>
<li>右键点击左下角的win图标，进入Windows PowerShell(管理员)A</li>
</ul>
<p>然后进入 blog 文件夹</p>
<p>我的是输入 cd c:\users\27453\blog 你们根据自己的实际情况输入</p>
<p><img src="https://github.com/MisterTian8980/PictureOfMyHexoBlog/raw/master/images/Hexo%E5%8D%9A%E5%AE%A2%E6%90%AD%E5%BB%BA/image013.png" alt=""></p>
<ul>
<li>生成 Hexo</li>
</ul>
<p>输入 hexo init</p>
<p>此时我的电脑报了一个错误，因为在此系统上禁止运行脚本</p>
<p>解决办法：更改系统的脚本执行策略为 remotesigned</p>
<p>输入 set-executionpolicy remotesigned ,然后确认更改，输入 Y</p>
<p>可使用 get-executionpolicy 进行查看，如图</p>
<p><img src="https://github.com/MisterTian8980/PictureOfMyHexoBlog/raw/master/images/Hexo%E5%8D%9A%E5%AE%A2%E6%90%AD%E5%BB%BA/image014.png" alt=""></p>
<p>继续 hexo init</p>
<p>可以看到，又出现错误</p>
<p><img src="https://github.com/MisterTian8980/PictureOfMyHexoBlog/raw/master/images/Hexo%E5%8D%9A%E5%AE%A2%E6%90%AD%E5%BB%BA/image015.png" alt=""></p>
<p>解决办法：</p>
<p>首先输入 npm cache clean –force</p>
<p>然后输入 npm install</p>
<p>如图所示</p>
<p><img src="https://github.com/MisterTian8980/PictureOfMyHexoBlog/raw/master/images/Hexo%E5%8D%9A%E5%AE%A2%E6%90%AD%E5%BB%BA/image016.png" alt=""></p>
<p>再次尝试 hexo init</p>
<p>可以看到已经搭建成功</p>
<p><img src="https://github.com/MisterTian8980/PictureOfMyHexoBlog/raw/master/images/Hexo%E5%8D%9A%E5%AE%A2%E6%90%AD%E5%BB%BA/image017.png" alt=""></p>
<p>接下来我们使用 hexo s 命令运行博客</p>
<p><img src="https://github.com/MisterTian8980/PictureOfMyHexoBlog/raw/master/images/Hexo%E5%8D%9A%E5%AE%A2%E6%90%AD%E5%BB%BA/image018.png" alt=""></p>
<p>目前是在本地运行的，所以只可以在自己的电脑上看到</p>
<p>我们的在浏览器输入 <a href="http://localhost:4000" target="_blank" rel="noopener">http://localhost:4000</a> 就可以看到默认页面啦，如图</p>
<p><img src="https://github.com/MisterTian8980/PictureOfMyHexoBlog/raw/master/images/Hexo%E5%8D%9A%E5%AE%A2%E6%90%AD%E5%BB%BA/image019.png" alt=""></p>
<ul>
<li>安装完成</li>
</ul>
<p>至此，我们就搭建好了一个默认的 Hexo 博客框架，后续文章将分享如何利用github实现对自己的博客访问以及如何更改博客的主题，感谢你的观看。</p>

    </div>

    
    
    

      <footer class="post-footer">
          <div class="post-tags">
              <a href="/xizhongren8980/tags/Hexo-%E5%8D%9A%E5%AE%A2/" rel="tag"># Hexo 博客</a>
          </div>

        


        
    <div class="post-nav">
      <div class="post-nav-item">
    <a href="/xizhongren8980/2020/03/06/%E6%9C%89%E5%85%B3Arrays%E6%96%B9%E9%9D%A2%E7%9A%84%E5%AE%9E%E7%94%A8%E5%8A%9F%E8%83%BD/" rel="prev" title="有关Arrays方面的实用功能">
      <i class="fa fa-chevron-left"></i> 有关Arrays方面的实用功能
    </a></div>
      <div class="post-nav-item">
    <a href="/xizhongren8980/2020/03/09/Java%E6%8C%81%E6%9C%89%E5%AF%B9%E8%B1%A1%E6%96%B9%E5%BC%8F%E5%B0%8F%E7%BB%93/" rel="next" title="Java持有对象方式小结">
      Java持有对象方式小结 <i class="fa fa-chevron-right"></i>
    </a></div>
    </div>
      </footer>
    
  </article>
  
  
  



          </div>
          

<script>
  window.addEventListener('tabs:register', () => {
    let { activeClass } = CONFIG.comments;
    if (CONFIG.comments.storage) {
      activeClass = localStorage.getItem('comments_active') || activeClass;
    }
    if (activeClass) {
      let activeTab = document.querySelector(`a[href="#comment-${activeClass}"]`);
      if (activeTab) {
        activeTab.click();
      }
    }
  });
  if (CONFIG.comments.storage) {
    window.addEventListener('tabs:click', event => {
      if (!event.target.matches('.tabs-comment .tab-content .tab-pane')) return;
      let commentClass = event.target.classList[1];
      localStorage.setItem('comments_active', commentClass);
    });
  }
</script>

        </div>
          
  
  <div class="toggle sidebar-toggle">
    <span class="toggle-line toggle-line-first"></span>
    <span class="toggle-line toggle-line-middle"></span>
    <span class="toggle-line toggle-line-last"></span>
  </div>

  <aside class="sidebar">
    <div class="sidebar-inner">

      <ul class="sidebar-nav motion-element">
        <li class="sidebar-nav-toc">
          文章目录
        </li>
        <li class="sidebar-nav-overview">
          站点概览
        </li>
      </ul>

      <!--noindex-->
      <div class="post-toc-wrap sidebar-panel">
          <div class="post-toc motion-element"><ol class="nav"><li class="nav-item nav-level-2"><a class="nav-link" href="#环境准备"><span class="nav-number">1.</span> <span class="nav-text">环境准备</span></a><ol class="nav-child"><li class="nav-item nav-level-3"><a class="nav-link" href="#下载Git"><span class="nav-number">1.1.</span> <span class="nav-text">下载Git</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#下载node-js"><span class="nav-number">1.2.</span> <span class="nav-text">下载node.js</span></a></li></ol></li><li class="nav-item nav-level-2"><a class="nav-link" href="#搭建博客"><span class="nav-number">2.</span> <span class="nav-text">搭建博客</span></a></li></ol></div>
      </div>
      <!--/noindex-->

      <div class="site-overview-wrap sidebar-panel">
        <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
    <img class="site-author-image" itemprop="image" alt="MisterTian"
      src="/xizhongren8980/images/head.jpg">
  <p class="site-author-name" itemprop="name">MisterTian</p>
  <div class="site-description" itemprop="description">一个小菜鸟</div>
</div>
<div class="site-state-wrap motion-element">
  <nav class="site-state">
      <div class="site-state-item site-state-posts">
          <a href="/xizhongren8980/archives/">
        
          <span class="site-state-item-count">57</span>
          <span class="site-state-item-name">日志</span>
        </a>
      </div>
      <div class="site-state-item site-state-categories">
            <a href="/xizhongren8980/categories/">
          
        <span class="site-state-item-count">7</span>
        <span class="site-state-item-name">分类</span></a>
      </div>
      <div class="site-state-item site-state-tags">
            <a href="/xizhongren8980/tags/">
          
        <span class="site-state-item-count">101</span>
        <span class="site-state-item-name">标签</span></a>
      </div>
  </nav>
</div>


  <div class="links-of-blogroll motion-element">
    <div class="links-of-blogroll-title"><i class="fa fa-link fa-fw"></i>
      友情链接
    </div>
    <ul class="links-of-blogroll-list">
        <li class="links-of-blogroll-item">
          <a href="https://mistertian8980.github.io/" title="https:&#x2F;&#x2F;mistertian8980.github.io&#x2F;" rel="noopener" target="_blank">Github博客</a>
        </li>
    </ul>
  </div>

      </div>

    </div>
  </aside>
  <div id="sidebar-dimmer"></div>


      </div>
    </main>

    <footer class="footer">
      <div class="footer-inner">
        

        

<div class="copyright">
  
  &copy; 
  <span itemprop="copyrightYear">2020</span>
  <span class="with-love">
    <i class="fa fa-heart"></i>
  </span>
  <span class="author" itemprop="copyrightHolder">MisterTian</span>
</div>
  <div class="powered-by">由 <a href="https://hexo.io/" class="theme-link" rel="noopener" target="_blank">Hexo</a> & <a href="https://theme-next.org/" class="theme-link" rel="noopener" target="_blank">NexT.Gemini</a> 强力驱动
  </div>

        








      </div>
    </footer>
  </div>

  
  <script size="300" alpha="0.6" zIndex="-1" src="/xizhongren8980/lib/canvas-ribbon/canvas-ribbon.js"></script>
  <script src="/xizhongren8980/lib/anime.min.js"></script>
  <script src="/xizhongren8980/lib/velocity/velocity.min.js"></script>
  <script src="/xizhongren8980/lib/velocity/velocity.ui.min.js"></script>

<script src="/xizhongren8980/js/utils.js"></script>

<script src="/xizhongren8980/js/motion.js"></script>


<script src="/xizhongren8980/js/schemes/pisces.js"></script>


<script src="/xizhongren8980/js/next-boot.js"></script>


  <script defer src="//cdn.jsdelivr.net/gh/theme-next/theme-next-three@1/three.min.js"></script>
    <script defer src="//cdn.jsdelivr.net/gh/theme-next/theme-next-three@1/canvas_lines.min.js"></script>


  




  
<script src="/xizhongren8980/js/local-search.js"></script>













  

  

</body>
</html>
